
class ITEM
{
private:
	char name[32];
	int price;
public:
	ITEM()
	{
		price = 0;
	}
	void SetName(char* newname)
	{
		strcpy(name,newname);
	}
	char* GetName()
	{
		return name;
	}

	int GetPrice()
	{
		return price;
	}

	void SetPrice(int amount)
	{
		price = amount;
	}
};